package io.github.fb513.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author fengbo
 * @since 2024-03-25
 */
@Getter
@Setter
@TableName("im_message")
public class Message {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户端生成的消息ID
     */
    private String clientId;

    /**
     * 消息
     */
    private String messageInfo;

    /**
     * 1-文本消息 2-图片消息
     */
    private Integer messageType;


}
